﻿using System;
using System.Collections.Generic;
using CodeFirstMembershipSharp;
using System.ComponentModel.DataAnnotations;

//Don't change this unless absolutely necessary
namespace Project3.Models
{
    public class Meeting
    {
        public int MeetingID { get; set; }
        public string EventName { get; set; }
        public virtual User Host { get; set; }
        public string What { get; set; }
        public DateTime When { get; set; }
        public virtual Address Where { get; set; }
        [InverseProperty("RSVPMeetings")]
        public virtual ICollection<User> RSVPs { get; set; }
        public virtual PhotoAlbum PhotoAlbum { get; set; }
        public virtual ICollection<Comment> Comments { get; set; }
    }
}